<?php
class ModelAutors
{
	private $id;
	private $name;
	private $password;
	private $role;
	private $karma;
	
	function __construct($autor) {
		$this->id = $autor['id_user'];
		$this->name = $autor['name'];
		$this->password = $autor['pass'];
		$this->role = $autor['role'];
		$this->karma = $autor['karma'];
	}
	public function getName() {
		return $this->name;
	}
	public function getPassword() {
		return $this->password;
	}
	public function getId() {
		return $this->id;
	}
	public function getRole() {
		return $this->role;
	}
	public function getKarma() {
		return $this->karma;
	}
}
